package com.xnyzc.lhy.mis.feign.didi;

import com.xnyzc.lhy.common.entity.DiDiRv;
import com.xnyzc.lhy.mis.entity.coupon.BindCouponParam;
import com.xnyzc.lhy.mis.entity.param.worksheet.didi.*;
import com.xnyzc.lhy.mis.feign.fallback.didi.CouponServiceFallback;
import com.xnyzc.lhy.mis.feign.fallback.didi.WorkServiceFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 调用滴滴绑定优惠券接口
 * @author haoyfa
 */
@FeignClient(name = "${feign.applicationName.didi}", fallback = CouponServiceFallback.class)
public interface ICouponService {
    /**
     * 绑定优惠券
     *
     * @param couponParam param
     * @return DiDiRv
     */
    @PostMapping("oa/didi/coupon/bindByUidBack")
    DiDiRv bindByUidBack(BindCouponParam couponParam);

}
